﻿using System;
using System.Net;
using System.Windows.Data;

namespace AccountHelper.Converters
{
    public class NumberToChsConverter : IValueConverter
    {

        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            return Common.MoneyHelper.CmycurD((double)value);

        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            throw new NotImplementedException();
        }
    }
}
